{extend name="main/index" /}

{block name="main"}

<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
    <script type="text/javascript">
    try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
    </script>

    <ul class="breadcrumb">
    <li>
        <i class="icon-home home-icon"></i>
        <a href="#">Home</a>
    </li>

    <li>
        <a href="#">Other Pages</a>
    </li>
    <li class="active">修改申请</li>
    </ul><!-- .breadcrumb -->

    <div class="nav-search" id="nav-search">
    <form class="form-search">
        <span class="input-icon">
            <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
            <i class="icon-search nav-search-icon"></i>
        </span>
    </form>
    </div><!-- #nav-search -->
    </div>
    
    <div class="page-content">
        <div class="row">
            <div class="col-xs-12">
                <hr>
                <form action="{:url('admin/engine/update', ['id' => $list['id']])}" method="post" class="form-horizontal">
                    <input type="hidden" name="id" value="{$list.id}">
                    <input type="hidden" name="_method" value="PUT">
                    <div class="form-group" style="">
                        <label for="" class="col-sm-2 control-label">项目名称：</label>
                        <div class="col-sm-4">
                            <input type="text" name="project_name" value="{$list.project_name}" class="form-control">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">工程总价:</label>
                        <div class="col-sm-4">
                            <input  type="text" name="project_price" value="{$list.project_price}" class="form-control" placeholder="(人民币/万元)">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">工程地点：</label>
                        <div class="col-sm-4">
                            <input type="text" name="project_address" value="{$list['project_address']}" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">预计开始时间：</label>
                        <div class="col-sm-4">
                            <input type="date" name="start_time" value="{$list['start_time']}" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">预计完工时间：</label>
                        <div class="col-sm-4">
                            <input type="date" name="makespan" value="{$list['makespan']}" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">施工内容：</label>
                        <div class="col-sm-4">
                            <input type="text" name="construction_content" value="{$list['construction_content']}" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">建设单位：</label>
                        <div class="col-sm-4">
                            <input type="text" name="build_unit" value="{$list['build_unit']}" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">施工单位：</label>
                        <div class="col-sm-4">
                            <input type="text" name="construction_unit" value="{$list['construction_unit']}" class="form-control" placeholder="">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-4">
                            <input type="submit">
                          <!-- <button type="submit" class="btn btn-default">保存</button> -->
                        </div>
                    </div>
                
                </form>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div>
    
</div>

{/block}